package solver;


import problem.TestProblem;
import problem.model.Constraint;

public class Demo2
{
	public Demo2()
	{
	}



	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		try
		{
			LPSolve solver = new LPSolve();

			TestProblem lp = new TestProblem();

			
			for (Constraint currentConstraint : lp.getConstraints())
			{
				System.out.println(currentConstraint);
			}
			
			System.out.println(lp.getObjectivfunction());
			
			solver.solve(lp);
		} catch (RuntimeException e)
		{
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}

}
